package com.liangZiVip.regionalAgentSystemApi.common;

public enum ResponseCode {
    SUCCESS(0,"请求成功"),
    WARN(-1,"网络异常,请稍后重试");

    private  int code ;
    private  String msg;

    ResponseCode(int code, String msg){
        this.msg=msg;
    }

    public  int getCode(){
        return code;
    }

    public  String getMsg(){
        return msg;
    }
}
